package task3.sink;

import java.awt.Label;
import task3.pimpmypipe.Writeable;
import task3.util.AbstractBean;
import task3.util.FilterObservable;
import task3.util.ImageTO;
import task3.util.InputEvent;
import task3.util.InputListener;

public class BSink
  extends AbstractBean
  implements InputListener
{
  private static final long serialVersionUID = -5803330011416767062L;
  private Sink _sink;
  
  public BSink()
  {
    this._sink = new Sink();
    this._sink.getObservable().addObserver(this);
    this._textField.setText("Sink");
  }
  
  public void inputChanged(InputEvent event) {}
  
  public Writeable<ImageTO> getWriteable()
  {
    return this._sink;
  }
  
  public void run()
  {
    throw new UnsupportedOperationException();
  }
}
